package kgc.LiuMang.entity;

import java.sql.Timestamp;
import java.util.List;

public class Ordertable {
    @Override
	public String toString() {
		return "Ordertable [oid=" + oid + ", oname=" + oname + ", ouserid=" + ouserid + ", osuccesstime=" + osuccesstime
				+ ", ostates=" + ostates + ", ofid=" + ofid + ", ouaddress=" + ouaddress + ", ouname=" + ouname
				+ ", outel=" + outel + ", ototalprice=" + ototalprice + ", oshowstates=" + oshowstates + ", user="
				+ user + ", fs=" + fs + ", os=" + os + ", oplist=" + oplist + "]";
	}

	private Integer oid;
    
    /**
     * 订单名字
     */
    private String oname;
    
    

	private Integer ouserid;

    private Timestamp osuccesstime;

    private Integer ostates;

    private Integer ofid;

    private String ouaddress;

    private String ouname;

    private String outel;

    private Float ototalprice;

    private Integer oshowstates;
    
    /**
     * 订单表里的 用户对象
     */
    private Appuser user;
    
    /**
     * 订单表里的果销点对象
     */
    private Fruitstore fs;
    
    /**
     * 订单表里的订单状态对象
     */
    private Orderstates os;
    
    /**
     * 订单里的订单商品
     */
    private List<Orderproduct> oplist;
    
    public String getOname() {
		return oname;
	}

	public void setOname(String oname) {
		this.oname = oname;
	}

	public List<Orderproduct> getOplist() {
		return oplist;
	}

	public void setOplist(List<Orderproduct> oplist) {
		this.oplist = oplist;
	}

    public Appuser getUser() {
		return user;
	}

	public void setUser(Appuser user) {
		this.user = user;
	}

	public Fruitstore getFs() {
		return fs;
	}

	public void setFs(Fruitstore fs) {
		this.fs = fs;
	}

	public Orderstates getOs() {
		return os;
	}

	public void setOs(Orderstates os) {
		this.os = os;
	}

	public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }

    public Integer getOuserid() {
        return ouserid;
    }

    public void setOuserid(Integer ouserid) {
        this.ouserid = ouserid;
    }

    public Timestamp getOsuccesstime() {
        return osuccesstime;
    }

    public void setOsuccesstime(Timestamp osuccesstime) {
        this.osuccesstime = osuccesstime;
    }

    public Integer getOstates() {
        return ostates;
    }

    public void setOstates(Integer ostates) {
        this.ostates = ostates;
    }

    public Integer getOfid() {
        return ofid;
    }

    public void setOfid(Integer ofid) {
        this.ofid = ofid;
    }

    public String getOuaddress() {
        return ouaddress;
    }

    public void setOuaddress(String ouaddress) {
        this.ouaddress = ouaddress;
    }

    public String getOuname() {
        return ouname;
    }

    public void setOuname(String ouname) {
        this.ouname = ouname;
    }

    public String getOutel() {
        return outel;
    }

    public void setOutel(String outel) {
        this.outel = outel;
    }

    public Float getOtotalprice() {
        return ototalprice;
    }

    public void setOtotalprice(Float ototalprice) {
        this.ototalprice = ototalprice;
    }

    public Integer getOshowstates() {
        return oshowstates;
    }

    public void setOshowstates(Integer oshowstates) {
        this.oshowstates = oshowstates;
    }
}